package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentTxt;
public interface ICmsContentTxtService{

	 Optional<CmsContentTxt> loadCmsContentTxtById(Long id);
	
	 void createCmsContentTxt(CmsContentTxt cmsContentTxt);
	
	 void updateCmsContentTxt(CmsContentTxt cmsContentTxt);

	 void deleteCmsContentTxt(Long id);
	
	 DataSet loadCmsContentTxtDataSet(Map<String, Object> params);

 	 void setCmsContentTxtStatus(Long id, Byte status);
 	 
 	void setCmsContentTxtStatusByContentId(Long contentId, Byte status);
}